﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminCenter/Admin.master" %>

<script runat="server">
    /// <summary>
    /// 图片路径时间
    /// </summary>
    private DateTime Img_Time = Convert.ToDateTime(Utils.GetQueryString("img_time", "null"));
    /// <summary>
    /// 存储文件名
    /// </summary>
    private string Cover_Foolder = Utils.GetQueryString("cover_foolder", "NaN");
    /// <summary>
    /// 缩略图生成比例列表
    /// </summary>
    private string[] SizeList = Lang.ShowPublic("SizeList").Split(',');

</script>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style>
        li{ border-right:1px solid #ccc; padding:0 10px; float:right;}
        li:first-child{ border:none;}
        img{ border-top:1px dashed #ccc; padding:10px 0 10px 0;border-bottom:1px dashed #ccc;}
        span{ display:block; text-align:center;}
        h3,p{ max-width:300px;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <%=Lang.Show("PlotingListView") %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <!-- 缩略图列表 -->
    <ul>
        <%foreach (string i in SizeList){ %>
        <li>
            <span><%=i %>px</span>
            <img src="../datafile/<%=Cover_Foolder %>/<%=Img_Time.ToString("yyyyMM/ddHHmmss") %>_s_<%=i %>.jpg?<%=DateTime.Now.ToString("HHmmssfff") %>" />
            <span><%=i %>px</span>
        </li>
        <%} %>
    </ul>
</asp:Content>

